package com.example.mrzhou.lvmm.api;

import com.example.mrzhou.lvmm.entity.tm.TM;

import java.util.Map;

import retrofit2.http.POST;
import retrofit2.http.QueryMap;
import rx.Observable;

/**
 * Created by Mr.zhou on 2016/10/29.
 */

public interface TMService {

    String BASE_URL = "http://api3g2.lvmama.com/";
    String CONTENT_PATH = "api/router/rest.do";

    //    @Multipart
    @POST(CONTENT_PATH)
//    Observable<TM> getTMData(@QueryMap Map<String, String> map, @PartMap Map<String, String> params);
    Observable<TM> getTMData(@QueryMap Map<String, String> map);

}
